package pl.pawluk.inz.security;


import java.io.Serializable;

public interface AuthenticationService extends Serializable {

    boolean login(String username, String password);

//    @Secured({"ROLE_ADMIN", "ROLE_REGISTERED"})
    void logout();

    String getUserName();
}
